package com.yf.course.modules.course.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yf.course.modules.course.entity.Speech;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface SpeechMapper extends BaseMapper<Speech> {
    /**
     * 根据课程ID分页查询讲稿
     */
    Page<Speech> selectByCourseIdPage(Page<Speech> page, @Param(value = "courseId") String courseId);
}
